package com.vanysoft.business.system.dataDictionary.dao;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.vanysoft.business.system.dataDictionary.entity.TSystemCode;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TSystemCodeMapper {
    int insert(TSystemCode record);

    int insertSelective(TSystemCode record);

    List<TSystemCode> queryDictionaryList(Pagination pagination, @Param("tableCode") String tableCode, @Param("val") String searchValue);

    List<Map<String, Object>> queryOneDictionary(@Param("type") String type, @Param("code") String code);

    void delDictionary(@Param("type") String tableCode, @Param("code") String code);

    void updateByPrimaryKey(TSystemCode record);

}